﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;

namespace SilverlightApplication1.Web
{
    [ServiceContract(Namespace = "")]
    [SilverlightFaultBehavior]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class Service2
    {
        [OperationContract]
        public String DoWorkService2(String someString)
        {
            return string.Format("Your string for DoWorkService2 is: {0}", someString);
        }

        [OperationContract]
        public String DoOtherWorkService2(String otherSomeString)
        {
            return string.Format("Your string for DoOtherWorkService2 is: {0}", otherSomeString);
        }

        // Add more operations here and mark them with [OperationContract]
    }
}
